package com.zh.system.domain.dto;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.zh.web.base.BasePageDto;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("分页消息模板")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PageTemplateDto extends BasePageDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("模板主键")
    private Long id;
    @ApiModelProperty("模板名称 模糊")
    private String name;
    @ApiModelProperty("模板类型")
    private String type;
    @ApiModelProperty("模板来源")
    private String source;
    @ApiModelProperty("模板体,模糊")
    private String template;
    @ApiModelProperty("模板替换关键词（体）数组")
    private String[] keywords;
    @ApiModelProperty("状态")
    private Status status;
}